<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>产品销量预测</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link href="css/bootstrap.min.css" rel="stylesheet">

<!--文件上传 -->
<link href="<%=path%>/css/fileinput.min.css" media="all"
	rel="stylesheet" type="text/css" />
<link href="<%=path%>/css/fileinput.css" media="all" rel="stylesheet"
	type="text/css" />


<script src="<%=path%>/js/jquery.min.js"></script>
<script src="<%=path%>/js/bootstrap.min.js"></script>

<!--文件上传 -->
<script src="<%=path%>/js/file/fileinput.min.js" type="text/javascript"></script>
<script src="<%=path%>/js/file/fileinput_locale_fr.js"
	type="text/javascript"></script>
<script src="<%=path%>/js/file/fileinput_locale_es.js"
	type="text/javascript"></script>

</head>

<body>
	<div class="content" name="content" id="content">
		<div class="formTable" name="formTable" id="formTable">
			<div class="panel">
				<form class="form" action="UploadServlet"
					enctype="multipart/form-data" method="post">
					<p class="socialData">
					<div class="row">
						<label for="socialData" class="col-sm-3">建模社交数据：</label> <input
							type="file" name="socialData" class="file col-sm-9" />
					</div>
					</p>

					<p class="productPara">
					<div class="row">
						<label for="productPara" class="col-sm-3">产品参数数据：</label> <input
							type="file" name="productPara" class="file col-sm-9" />
					</div>
					</p>

					<p class="productSales">
					<div class="row">
						<label for="productSales" class="col-sm-3">产品销量数据：</label> <input
							type="file" name="productSales" class="file col-sm-9" />
					</div>
					</p>
					<p class="inputPerformance">
					<div class="row">
						<label for="inputPerformance" class="col-sm-3">输入性能数据：</label> <input
							type="file" name="inputPerformanc" class="file col-sm-9" />
					</div>
					</p>
					<p class="inputPopularity">
					<div class="row">
						<label for="inputPopularity" class="col-sm-3">输入关注数据：</label> <input
							type="file" name="inputPopularity" class="file col-sm-9" />
					</div>
					</p>
					<p class="submit">
						<input type="submit" name="dd" value="开始上传" class="btn btn-info">
						${requestScope.message}
					</p>
				</form>
			</div>
			<div class="panel">
				<form class="form2" name="start" method="post"
					onSubmit="return check()" action="servlet/joshservlet">
					<input type="submit" value="开始预测" class="btn btn-info" />
				</form>
			</div>
		</div>
		<div class="panel">
			<div class="ourservice-grids">
				<div class="row">
					<div class="col-sm-4">
						<img src="josh/images/img4.png" class="img-responsive" alt="" />
						<h3>建模社交数据</h3>
						<p>用于建模的数据,作用是从社交媒体数据中获取产品关注度.</p>
					</div>
					<div class="col-sm-4">
						<img src="josh/images/img1.png" class="img-responsive" alt="" />
						<h3>产品销量数据</h3>
						<p>用于建模的数据,类似产品销量情况是回归方程的预测变量.</p>
					</div>
					<div class="col-sm-4">
						<img src="josh/images/img2.png" class="img-responsive" alt="" />
						<h3>产品参数数据</h3>
						<p>用于建模的数据,是与产品相关性能的一个回归方程的参数.</p>
					</div>
					<div class="col-sm-4">
						<img src="josh/images/img3.png" class="img-responsive" alt="" />
						<h3>输入关注数据</h3>
						<p>待预测产品在社交媒体中的关注度,回归方程的一输入参数.</p>
					</div>
					<div class="col-sm-4">
						<img src="josh/images/img4.png" class="img-responsive" alt="" />
						<h3>输入性能数据</h3>
						<p>待预测产品的性能指标数据,预测回归方程的一个输入参数.</p>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
<script type="text/javascript">
	$('.file').fileinput({
		showPreview : false,
		showRemove : false,
		showUpload : false
	});
</script>
</html>
